Mutable Collection
A generic collection of elements that supports adding and removing elements.
Parameters
the type of elements contained in the collection. The mutable collection is invariant in its element type.
Functions
Adds all of the elements of the specified collection to this collection.
Checks if all elements in the specified collection are contained in this collection.
Returns an iterator over the elements of this object.
Removes all of this collection's elements that are also contained in the specified collection.
Retains only the elements in this collection that are contained in the specified collection.
Properties
Inheritors
Extensions
Adds all elements of the given elements collection to this MutableCollection.
Adds all elements of the given elements sequence to this MutableCollection.
Adds all elements of the given elements array to this MutableCollection.
Removes a single instance of the specified element from this mutable collection.
Removes all elements contained in the given elements collection from this mutable collection.
Removes all elements contained in the given elements array from this mutable collection.
Removes all elements contained in the given elements sequence from this mutable collection.
Adds the specified element to this mutable collection.
Adds all elements of the given elements collection to this mutable collection.
Adds all elements of the given elements array to this mutable collection.
Adds all elements of the given elements sequence to this mutable collection.
Removes all of this collection's elements that are also contained in the specified collection.
Removes all elements from this MutableCollection that are also contained in the given elements collection.
Removes all elements from this MutableCollection that are also contained in the given elements sequence.
Removes all elements from this MutableCollection that are also contained in the given elements array.
Retains only the elements in this collection that are contained in the specified collection.
Retains only elements of this MutableCollection that are contained in the given elements collection.
Retains only elements of this MutableCollection that are contained in the given elements array.
Retains only elements of this MutableCollection that are contained in the given elements sequence.